"""
Node registration for CRZ custom nodes
"""

from .boolean_toggle import NODE_CLASS_MAPPINGS as BooleanToggleMappings, NODE_DISPLAY_NAME_MAPPINGS as BooleanToggleDisplayMappings
from .float_slider import NODE_CLASS_MAPPINGS as FloatSliderMappings, NODE_DISPLAY_NAME_MAPPINGS as FloatSliderDisplayMappings
from .integer_slider import NODE_CLASS_MAPPINGS as IntegerSliderMappings, NODE_DISPLAY_NAME_MAPPINGS as IntegerSliderDisplayMappings
from .float_to_int import NODE_CLASS_MAPPINGS as FloatToIntMappings, NODE_DISPLAY_NAME_MAPPINGS as FloatToIntDisplayMappings
from .int_to_float import NODE_CLASS_MAPPINGS as IntToFloatMappings, NODE_DISPLAY_NAME_MAPPINGS as IntToFloatDisplayMappings
from .dashboard_node import NODE_CLASS_MAPPINGS as DashboardSingleMappings, NODE_DISPLAY_NAME_MAPPINGS as DashboardSingleDisplayMappings
from .dropdown import NODE_CLASS_MAPPINGS as DropdownMappings, NODE_DISPLAY_NAME_MAPPINGS as DropdownDisplayMappings
from .custom_dropdown import NODE_CLASS_MAPPINGS as CustomDropdownMappings, NODE_DISPLAY_NAME_MAPPINGS as CustomDropdownDisplayMappings
from .image_selector import NODE_CLASS_MAPPINGS as ImageSelectorMappings, NODE_DISPLAY_NAME_MAPPINGS as ImageSelectorDisplayMappings
from .passthrough import NODE_CLASS_MAPPINGS as PassthroughMappings, NODE_DISPLAY_NAME_MAPPINGS as PassthroughDisplayMappings
from .switch import NODE_CLASS_MAPPINGS as SwitchMappings, NODE_DISPLAY_NAME_MAPPINGS as SwitchDisplayMappings
from .compare import NODE_CLASS_MAPPINGS as CompareMappings, NODE_DISPLAY_NAME_MAPPINGS as CompareDisplayMappings
from .label import NODE_CLASS_MAPPINGS as LabelMappings, NODE_DISPLAY_NAME_MAPPINGS as LabelDisplayMappings
from .execute_switch import NODE_CLASS_MAPPINGS as ExecuteSwitchMappings, NODE_DISPLAY_NAME_MAPPINGS as ExecuteSwitchDisplayMappings
from .execute_block import NODE_CLASS_MAPPINGS as ExecuteBlockMappings, NODE_DISPLAY_NAME_MAPPINGS as ExecuteBlockDisplayMappings
from .string_node import NODE_CLASS_MAPPINGS as StringNodeMappings, NODE_DISPLAY_NAME_MAPPINGS as StringNodeDisplayMappings
from .map_dropdown import NODE_CLASS_MAPPINGS as MapDropdownMappings, NODE_DISPLAY_NAME_MAPPINGS as MapDropdownDisplayMappings
from . import preferences



NODE_CLASS_MAPPINGS = {}
NODE_CLASS_MAPPINGS.update(BooleanToggleMappings)
NODE_CLASS_MAPPINGS.update(FloatSliderMappings)
NODE_CLASS_MAPPINGS.update(IntegerSliderMappings)
NODE_CLASS_MAPPINGS.update(FloatToIntMappings)
NODE_CLASS_MAPPINGS.update(IntToFloatMappings)
NODE_CLASS_MAPPINGS.update(DashboardSingleMappings)
NODE_CLASS_MAPPINGS.update(DropdownMappings)
NODE_CLASS_MAPPINGS.update(CustomDropdownMappings)
NODE_CLASS_MAPPINGS.update(ImageSelectorMappings)
NODE_CLASS_MAPPINGS.update(PassthroughMappings)
NODE_CLASS_MAPPINGS.update(SwitchMappings)
NODE_CLASS_MAPPINGS.update(CompareMappings)
NODE_CLASS_MAPPINGS.update(LabelMappings)
NODE_CLASS_MAPPINGS.update(ExecuteSwitchMappings)
NODE_CLASS_MAPPINGS.update(ExecuteBlockMappings)
NODE_CLASS_MAPPINGS.update(StringNodeMappings)
NODE_CLASS_MAPPINGS.update(MapDropdownMappings)



NODE_DISPLAY_NAME_MAPPINGS = {}
NODE_DISPLAY_NAME_MAPPINGS.update(BooleanToggleDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(FloatSliderDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(IntegerSliderDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(FloatToIntDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(IntToFloatDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(DashboardSingleDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(DropdownDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(CustomDropdownDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(ImageSelectorDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(PassthroughDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(SwitchDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(CompareDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(LabelDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(ExecuteSwitchDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(ExecuteBlockDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(StringNodeDisplayMappings)
NODE_DISPLAY_NAME_MAPPINGS.update(MapDropdownDisplayMappings)



WEB_DIRECTORY = "./js"
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']